/* 
 *  javascribd - Java client library for the Scribd API. 
 *  Copyright (C) 2009 by Marcel Eyke, http://code.google.com/p/javascribd/ 
 *  Use is subject to license terms of LGPLv3. See license.txt. 
 */
package com.google.code.javascribd.user;

import com.google.code.javascribd.connection.AbstractScribdMethod;
import com.google.code.javascribd.connection.annotation.GETParameter;
import com.google.code.javascribd.connection.annotation.Method;
import com.google.code.javascribd.type.ApiKey;

/**
 * This class is the POJO of the user.signup Scribd request.
 * 
 * @see <a
 *      href="http://www.scribd.com/developers/api?method_name=user.signup">user.signup
 *      specification on Scribd.com</a>
 * 
 * @author Marcel Eyke
 */
@Method(name = "user.signup")
public class Signup extends AbstractScribdMethod<SignupResponse> {

	@GETParameter(name = "username")
	private String username;

	@GETParameter(name = "password")
	private String password;

	@GETParameter(name = "api_key")
	private ApiKey apiKey;

	@GETParameter(name = "email")
	private String email;

	@GETParameter(name = "name")
	private String name;

	public Signup(String username, String password, ApiKey apiKey, String email) {
		super();
		this.username = username;
		this.password = password;
		this.apiKey = apiKey;
		this.email = email;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public ApiKey getApiKey() {
		return apiKey;
	}

	public void setApiKey(ApiKey apiKey) {
		this.apiKey = apiKey;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
